<div id="modal3" class="modal modal-fixed-footer">
  <div class="modal-header">
    <h6>修改密码</h6>
    <a class="btn-flat modal-close"><i class="material-icons">close</i></a>
  </div>
  <div class="modal-content" style="border: unset; border-radius: 0;">
    <div class="row">
      <form class="col s12">
        <div class="row">
          <div class="col s8 input-field">
            <input type="password" name="oldPassword" id="oldPassword" class="validate" required>
            <label for="oldPassword"><font color="red">*</font>原密码</label>
            <span class="helper-text" data-error="wrong" data-success=""></span>
          </div>
        </div>
        <div class="row">
          <div class="col s12 input-field">
            <input type="password" name="newPassword" id="newPassword" class="validate" required>
            <label for="newPassword"><font color="red">*</font>新密码</label>
            <span class="helper-text" data-error="wrong" data-success="right"></span>
          </div>
        </div>
        <div class="row">
          <div class="col s12 input-field">
            <input type="password" name="confirmPassword" id="confirmPassword" class="validate" required maxlength="400">
            <label for="confirmPassword"><font color="red">*</font>确认密码</label>
            <span class="helper-text" data-error="wrong" data-success="right"></span>
          </div>
        </div>
        <input type="reset" style="display:none;" />
      </form>
    </div>
  </div>
  <div class="modal-footer">
    <a href="#!" class="modal-close waves-effect waves-light btn-flat" style="margin-right: 10px;">取消</a>
    <button class="btn waves-effect waves-light light-blue darken-1" type="submit" name="action" style="margin-right: 10px;" th:onclick="'updatePwdSubmit('+${#authentication.principal.id}+')'">确认</button>
  </div>
</div>